<?php        
        echo "<td> Sucursales </td>"; 
        echo "<br></br>";
        echo "<table border=1>";        
        echo "<tr>";   
        echo "<td>Cod Banco</td>";        
        echo "<td>Cod Sucursal</td>";         
        echo "</tr>";
        
        foreach ($query as $row) {
                       
            echo "<tr>";            
            echo "<td>" . $row->cod_b . "</td>";            
            echo "<td>" . $row->cod_s . "</td>";                      
            echo "</tr>";            
        }        
        echo "</table>";   
        
        
        
?>

